# -*- mode: python -*-

## Create an enviroment holding every variable exported by user
env = Environment()

## Create a configure context
conf = Configure( env )

##############################################################################
# Call sub scripts                                                           #
##############################################################################
Export( "env conf" )
SConscript( "config/configopts" )
SConscript( "config/envopts" )

env.Append( CPPFLAGS=[ "-Wall" ] )

env.Append( CPPPATH=[ "#include" ] )

# order is important!
subdirs = [ "src", "tests", "project-01", "project-02", "project-03" ]

for s in subdirs:
    SConscript( s + "/SConscript" )
